package com.juyu.reader.pc.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.juyu.reader.pc.model.Author;

@Repository
public interface AuthorDao {

	public List<Author> loginAuthor(Author author);

	public List<Author> validateAuthor(Author author);

	public int registerAuthor(Author author);

	public List<Author> findAuthor(Author author);

	public int countAuthor(Author author);

	public int updateAuthor(Author author);

	public int deleteAuthor(Author author);

	public int updateAuthorPassword(Author author);
}
